Automattic\Jetpack\Waf\Waf_Runtime D

Total Complexity 135
Dependencies 6
Dependents 1
Total lines 776
Lines of code 429
Logical lines of code 283
Comment lines 268
Methods 25
Properties 12

Methods 25

Method Rating Maintainability Complexity Lines of code
normalize_targets()
C
37 28 67
meta()
C
36 24 80
normalize_array_target()
A
47 10 35
update_targets()
A
51 10 28
match_targets()
A
47 8 35
write_blocklog()
S
53 6 21
is_ip_in_array()
S
57 5 17
block()
S
57 5 15
key_matches()
S
61 5 12
write_blocklog_row()
S
58 4 15
rule_removed()
S
63 4 11
flag_target_for_removal()
S
63 4 10
connect_to_wordpress_db()
S
61 3 12
state_values()
S
63 3 10
get_var()
S
73 2 5
inc_var()
S
70 2 6
dec_var()
S
70 2 6
flag_rule_for_removal()
S
69 2 7
__construct()
S
69 2 7
args_names()
S
67 1 9
set_var()
S
80 1 3
normalize_header_name()
S
78 1 3
unset_var()
S
80 1 3
redirect()
S
72 1 5
sanitize_output()
S
65 1 7